package models

import (
	"time"
)

type Employee struct {
	Id            int       `xorm:"pk autoincr int(11)"`
	Name          string    `xorm:"varchar(50)"`
	Status        string    `xorm:"varchar(50)"`
	Bank          string    `xorm:"varchar(50)"`
	Bankacct      string    `xorm:"varchar(50)"`
	Depid         int64     `xorm:"int(11)"`
	Position      string    `xorm:"varchar(50)"`
	Startdt       time.Time `xorm:"DATE"`
	Startdt1      time.Time `xorm:"DATE"`
	Enddt         time.Time `xorm:"DATE"`
	Contractdt    time.Time `xorm:"DATE"`
	Contractenddt time.Time `xorm:"DATE"`
	Birthdt       time.Time `xorm:"DATE"`
	Idcard        string    `xorm:"varchar(50)"`
	Phone         string    `xorm:"varchar(20)"`
}
